<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
        <div>
            <input type="text" v-bind:value="msg">
            <input type="text" :value="msg"><!--常用格式-->
            <a :href="url">超链接</a>
            <img :src="imgUrl" width="50px" alt="">
        </div>
        <script src="../js/vue.js"></script>
        <script>
            let v = new Vue({
                el:"div",
                data:{
                    msg:"属性绑定测试",
                    url:"http://www.baidu.com",
                    imgUrl:"../nv1.jpg"
                }
            })
        </script>
    </body>
</html>